//
//  AppDelegate.h
//  RocketProject
//
//  Created by chen jiedan on 13-5-7.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RocketTabBar.h"
#import "RCServerLoginVC.h"
#import "TSAlertViewManager.h"

#define RCAppDelegate ((AppDelegate *)[[UIApplication sharedApplication] delegate])

@class ViewController;

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (nonatomic, readonly) RocketTabBar *tabBarController;
@property (nonatomic, readonly) RCServerLoginVC *loginVC;

@property (strong, nonatomic) ViewController *viewController;

@property (nonatomic,retain) TSAlertViewManager *alertViewManager;

@property (nonatomic,retain) TSAlertViewController *tsAlertViewController;

@property (nonatomic,retain) TSAlertOverlayWindow *tsAlertOverlayWindow;


- (void)alertWithNetworkError;

- (void)alertWithNetworkTimeoutError;

- (void) alertWithCustomizeString:(NSString *)alertString;

- (void)updateTheLocationInfo;

- (void) serverLoginSuccess;
- (void) serverLogoutSuccess;



@end
